package constant

const (
	GuestMoney = "3000"

	GuestIdCacheKey = "guest:id"

	KeyDeposit  = "deposit"
	KeyWithdraw = "withdraw"
)

const (
	AgentIdHashSalt    = "KhiUPxWC"
	GameInstHashSalt   = "de1iiQIn"
	PassportTicketSalt = "L8VibRoRyb4irY1m"
)

const (
	CacheAKey          = "a:"
	CacheUKey          = ":u:"
	CacheAuthKey       = "auth:"
	CacheBTokenKey     = "bToken"
	CacheClientSessKey = "cSess"
	CacheUidToToken    = "uExInfo:"
	GuestKey           = "guest"
	AgtIdKey           = "agtId"
	UhKey              = "uh"
	UnameKey           = "uname"
	UidKey             = "uid"
	LastTokenKey       = "last"
	InstLoginNodeKey   = "node"
	CreatedKey         = "created"
	CacheBetIdKey      = "bets"
	CacheDelayQueKey   = "deque:"

	CacheGameCurrKey = "game:curr:"

	CacheBaLa = "bala:"
)

const (
	NodeMsgNKeySub = "node.*"
	LoginCheckNKey = "node.kickCheck"
	BalanceNKey    = "node.balanceChange"

	GameOnlineKey = "gameOnline:"
	AvtFlewKey    = "avt:"
	AvtFlewsKey   = "avt:flews:"

	AvtOnlineNKeySub = "aviator.online.*"
	AvtLoginNKey     = "aviator.online.login"
	AvtLogoutNKey    = "aviator.online.logout"

	AvtBetNKeySub  = "aviator.bet.*"
	AvtBetNKey     = "aviator.bet.bet"
	AvtCancelNKey  = "aviator.bet.cancel"
	AvtCashOutNKey = "aviator.bet.cashOut"
	AvtActNKey     = "aviator.bet.act"

	AvtBetRetNKeySub   = "aviator.betRet.*"
	AvtBetsNKey        = "aviator.betRet.bets"
	AvtBetCashOutsNKey = "aviator.betRet.cashOuts"

	AvtMultiplierNKeySub = "aviator.multi.*"
	AvtMultiplierNKey    = "aviator.multi.curr"
)

const (
	RouFlewKey  = "rou:"
	RouFlewsKey = "rou:flews:"

	RouBetNKeySub = "roubig.bet.*"
	RouBetNKey    = "roubig.bet.bet"

	RouBetRetNKeySub = "roubig.betRet.*"
	RouBetsNKey      = "roubig.betRet.bets"

	RouCountDownNKeySub = "roubig.cd.*"
	RouCountDownNKey    = "roubig.cd.curr"
)

const (
	StreamG8         = "g8"
	SubjectBetIpt    = "abets.bet_input"
	SubjectImBet     = "abets.im_bet"
	SubjectStepBet   = "abets.step_bet"
	SubjectBetPayout = "abets.bet_payout"
	SubjectBetCancel = "abets.bet_cancel"
	SubjectBetsWild  = "abets.*"
	QueueBets        = "que.abets"

	ConsumerImBet   = "consumer_im_bet"
	ConsumerStepBet = "consumer_step_bet"
	ConsumerAvtBet  = "consumer_avt_bet"
	ConsumerSettle  = "consumer_settle"

	StreamAviator    = "aviator"
	SubjectAvtWild   = "avt_bets.*"
	SubjectAvtBet    = "avt_bets.step_bet"
	SubjectAvtPayout = "avt_bets.bet_payout"
	SubjectAvtCancel = "avt_bets.bet_cancel"
	QueueAvtBets     = "que.avt_bets"

	StreamSettle      = "settle"
	SubjectSettleWild = "settle.*"
	SubjectSettleStm  = "settle.stm"
	SubjectAvtLoseStm = "settle.avt_lose_stm"
	QueueSettle       = "que.settle"
)
